#include <bits/stdc++.h>
#include "../vector.hpp"
using namespace std;

int N = 10000, cnt = 0;
int main(){
	for(int n = 1; n <= N; ++n){
		Vector <int> a;
		for(int i = 0; i < n; ++i)
			a.push_back(i);
		cnt += a.capacity();
	}
	cout << cnt << endl;
}
